package com.hnhcyy.goods.client;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Scope;

import feign.Feign;

/**
 * 指定Feign客户端禁用Hystrix：
 * @author sheyongjun  
 * @date 2019年3月11日
 */
@Configuration
public class FeignDisableHystrixConfiguration {

	@Bean
	@Scope("prototype")
	public Feign.Builder feignBuilder() {
		return Feign.builder();
	}
}
